home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextCopyLink.z
/
XmTextCopyLink
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttCCCCooooppppyyyyLLLLiiiinnnnkkkk((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttCCCCooooppppyyyyLLLLiiiinnnnkkkk((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttCCCCooooppppyyyyLLLLiiiinnnnkkkk - A Text function that copies a link to the
primary selection to the clipboard
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Text.h>
BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttCCCCooooppppyyyyLLLLiiiinnnnkkkk(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
TTTTiiiimmmmeeee ttttiiiimmmmeeee);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttCCCCooooppppyyyyLLLLiiiinnnnkkkk copies a link to the primary selected text to
the clipboard. This routine calls the XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk
procedures, possibly multiple times, with the _s_e_l_e_c_t_i_o_n
member of the XXXXmmmmCCCCoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuucccctttt set to _C_L_I_P_B_O_A_R_D and
with the _p_a_r_m member set to XXXXmmmmLLLLIIIINNNNKKKK. The Text widget itself
does not copy any links; XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkkprocedures are
responsible for copying the link to the clipboard and for
taking any related actions.
_w_i_d_g_e_t Specifies the Text widget ID.
_t_i_m_e Specifies the time of the transfer. This should
be the time of the event which triggered this
request. One source of a valid time stamp is the
function XXXXttttLLLLaaaassssttttTTTTiiiimmmmeeeessssttttaaaammmmppppPPPPrrrroooocccceeeesssssssseeeedddd.
For a complete definition of Text and its associated
resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
RRRREEEETTTTUUUURRRRNNNN
This function returns False if the primary selection is
NULL, if the _w_i_d_g_e_t does not own the primary selection, if
the function is unable to gain ownership of the clipboard
selection, or if no data is placed on the clipboard.
Otherwise, it returns True.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxtttt(3).
Page 1 (printed 10/24/98)